//
//  MKUserModel.h
//  Teleport
//
//  Created by xtjun on 2020/5/18.
//  Copyright © 2020 xxt. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TJUserInfo : NSObject

/**身份证地址 */
@property (copy, nonatomic) NSString *address;


/**+86 */
@property (copy, nonatomic) NSString *areaCode;
/**银行卡支行 */
@property (copy, nonatomic) NSString *bankAddress;
/**"银行卡号 */
@property (copy, nonatomic) NSString *bankCard;
/**银行卡所属行 */
@property (copy, nonatomic) NSString *bankName;
/**"银行卡姓名 */
@property (copy, nonatomic) NSString *bankUserName;


/**微信二维码 */
@property (copy, nonatomic) NSString *payWechat;
/**wechatName微信号 */
@property (copy, nonatomic) NSString *wechatName;
/**payAliay */
@property (copy, nonatomic) NSString *payAliay;
/**aliayName 支付宝号*/
@property (copy, nonatomic) NSString *aliayName;


/**19950421 */
@property (copy, nonatomic) NSString *birth;
/**broker */
@property (assign, nonatomic) NSInteger broker;
/**brokerGradeOne */
@property (copy, nonatomic) NSString *brokerGradeOne;
/**brokerGradeTwo */
@property (copy, nonatomic) NSString *brokerGradeTwo;
/**brokerGradeThree */
@property (copy, nonatomic) NSString *brokerGradeThree;

/**身份证号 */
@property (copy, nonatomic) NSString *cardNo;

/**高级认证审核状态  WAIT 等待 PASS 通过 NO为null则没有申请 */
@property (copy, nonatomic) NSString *cardState;
/**chatHeadPic */
@property (copy, nonatomic) NSString *chatHeadPic;
/**chatName */
@property (copy, nonatomic) NSString *chatName;
/**createTime */
@property (assign, nonatomic) NSInteger createTime;
/**updateTime */
@property (assign, nonatomic) NSInteger updateTime;
/**fbStatus */
@property (copy, nonatomic) NSString *fbStatus;
/**手持身份证 */
@property (copy, nonatomic) NSString *handLink;
/**用户id */
@property (copy, nonatomic) NSString *userId;
/**token */
@property (copy, nonatomic) NSString *token;
/**ip  */
@property (copy, nonatomic) NSString *ip;

/**mail */
@property (copy, nonatomic) NSString *mail;
/**用户姓名 */
@property (copy, nonatomic) NSString *uname;
/**nickName */
@property (copy, nonatomic) NSString *nickName;
/**头像 */
@property (copy, nonatomic) NSString *headLink;
/**nodePath */
@property (copy, nonatomic) NSString *nodePath;
/**password */
@property (copy, nonatomic) NSString *password;

/**payPassword 有值绑定*/
@property (copy, nonatomic) NSString *payPassword;

/**手机号 */
@property (copy, nonatomic) NSString *phone;
/**身份证正面 */
@property (copy, nonatomic) NSString *positiveLink;
/**身份证反面 */
@property (copy, nonatomic) NSString *sideLink;
/**邀请码连接*/
@property (copy, nonatomic) NSString *quickMark;
/**邀请码 */
@property (copy, nonatomic) NSString *welCode;
/**regType */
@property (copy, nonatomic) NSString *regType;
/**salt */
@property (copy, nonatomic) NSString *salt;
/**sex */
@property (copy, nonatomic) NSString *sex;

/**商家店铺名称 */
@property (copy, nonatomic) NSString *storeName;
/**s商家审核状态 WAIT 等待 PASS 通过 NO为null则没有申请*/
@property (copy, nonatomic) NSString *storeState;
/**type */
@property (copy, nonatomic) NSString *type;
/**userStatus */
@property (copy, nonatomic) NSString *userStatus;
/**uuid */
@property (copy, nonatomic) NSString *uuid;

/**welMember */
@property (copy, nonatomic) NSString *welMember;


- (void)updateUserInfoWithInfoDict:(NSDictionary *)infoDict;
/**保存到本地 */
- (BOOL)saveInfo;
+ (TJUserInfo *)readInfo;
/**删除本地 */
+ (BOOL)deleteInfo;

@end

NS_ASSUME_NONNULL_END
